package com.partners.service;

import com.partners.dao.bo.CustomerDO;
import com.partners.dao.dto.CustomerOutputDTO;
import com.partners.model.Paging;
import com.partners.model.PagingResult;

import javax.servlet.http.HttpSession;
import java.math.BigInteger;
import java.util.Map;

/**
 * @author liangyongle
 * @date 2018-12-11
 */
public interface CustomerService {



    CustomerOutputDTO getCustomerDetail(Integer id);

    Integer editCustomer(CustomerDO customerDo);

    Integer CustomerDelete(Integer id);

    Map<String,Object> getCustomerCode(Integer id);

    Integer scanCode(HttpSession session, Integer id);

    Map<String,Object> getCustomerQrCode(Integer id);

    Map<String,Object> selectCustomerList(Paging paging, String name, BigInteger phone);

    Map<String,Object> getCustomerList(Paging paging, Integer returnType, String name, BigInteger phone, Integer uid);

    void getCustomerCoupon(Integer Id);

    Map<String,Object> getCustomerCouponDetail(Integer id);


    void verificateCoupon(Integer id, Integer uid, Float saleMoney);

    Map<String,Object> getOrderCustomerList(Integer uid, Paging paging);

    Map<String,Object> getOrderCustomerLog(Integer id);
}
